﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JTTD.Domain
{
    /// <summary>
    /// 分页返回结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public  class PageResult<T> where T:new()
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>

        public int PageSize { get; set; }

        /// <summary>
        /// 总页码
        /// </summary>
        public int TotalPageNum { get; set; }
        /// <summary>
        /// 查询结果总数
        /// </summary>
        public int TotalNum { get; set; }
        /// <summary>
        /// 查询结果数据集
        /// </summary>
        public List<T> Data { get; set; }
    }
}
